package com.ittony.vo.process;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "Process")
public class ProcessVo {

    private Long id;

    private Date createTime;

    @ApiModelProperty(value = "ApproveCode")
    private String processCode;

    @ApiModelProperty(value = "UserId")
    private Long userId;
    private String name;

    @TableField("process_template_id")
    private Long processTemplateId;
    private String processTemplateName;

    @ApiModelProperty(value = "ApproveTypeId")
    private Long processTypeId;
    private String processTypeName;

    @ApiModelProperty(value = "Title")
    private String title;

    @ApiModelProperty(value = "Description")
    private String description;

    @ApiModelProperty(value = "FormProps")
    private String formProps;

    @ApiModelProperty(value = "FormOptions")
    private String formOptions;

    @ApiModelProperty(value = "FormValues")
    private String formValues;

    @ApiModelProperty(value = "ProcessInstanceId")
    private String processInstanceId;

    @ApiModelProperty(value = "currentApprover")
    private String currentAuditor;

    @ApiModelProperty(value = "Status(0:Default 1:Ing 2:Pass -1:Deny)")
    private Integer status;

    private String taskId;
}
